//package com.zmn.plat.dubbo.interfaces.product;
//
//import java.util.List;
//
//import javax.validation.Valid;
//import javax.validation.constraints.NotNull;
//import javax.validation.constraints.Positive;
//
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.plat.common.dto.product.BaseCodeMapDIO;
//import com.zmn.plat.common.dto.product.BaseCodeMapDRO;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//
///**
// * 通用配置BaseCodeMap远程服务
// *
// * @auther: tanghongjun
// * @since: 2018/10/23 11:06
// */
//@Api(value = "通用配置BaseCodeMap远程服务", tags = {"通用配置BaseCodeMap"})
//public interface BaseCodeMapListRemoteService {
//    /**
//     * 描述: 根据码表ID查询码表信息
//     *
//     * @param mapId
//     *            码表ID
//     * @return ResponseDTO<BaseCodeMapDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据码表ID查询码表信息", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<BaseCodeMapDRO> getById(@NotNull(message = "mapId不能为空") @Positive(message = "mapId必须为大于0的正整数") @ApiParam(value = "码表ID", required = true) Integer mapId);
//
//    /**
//     * 描述: 检查码表是否存在
//     *
//     * @param oneTypeId
//     *            类型一ID
//     * @param twoTypeId
//     *            类型二ID
//     * @param name
//     *            名称
//     * @param plat
//     *            平台
//     * @return
//     * @auther tanghongjun
//     * @since 2018/12/29 10:54 TODO 命名问题
//     */
//    @ApiOperation(value = "检查码表是否存在", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<Boolean> checkByOneTypeIdAndTwoTypeIdAndNameAndPlat(
//        @NotNull(message = "oneTypeId不能为空") @Positive(message = "oneTypeId必须为大于0的正整数") @ApiParam(value = "类型一ID", required = true) Integer oneTypeId,
//        @Positive(message = "twoTypeId必须为大于0的正整数") @ApiParam(value = "类型二ID", required = true) Integer twoTypeId, @ApiParam(value = "名称") String name,
//        @NotNull(message = "plat不能为空") @Positive(message = "plat必须为大于0的正整数") @ApiParam(value = "平台") Integer plat);
//
//    /**
//     * 描述: 根据码表查询条件查询码表集合
//     *
//     * @param baseCodeMapDIO
//     *            码表查询条件
//     * @return ResponseDTO<BaseCodeMapDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据码表查询条件查询码表集合", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<List<BaseCodeMapDRO>> listByDIO(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) BaseCodeMapDIO baseCodeMapDIO);
//
//    /**
//     * 描述: 根据类型一ID和名称查询基础码表
//     *
//     * @param oneTypeId
//     *            类型一ID
//     * @param twoTypeId
//     *            类型二ID
//     * @param name
//     *            名称
//     * @param plat
//     *            平台
//     * @return
//     * @auther tanghongjun
//     * @since 2018/12/29 10:54
//     */
//    @ApiOperation(value = "根据类型一ID和名称查询基础码表", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<List<BaseCodeMapDRO>> listByOneTypeIdAndTwoTypeIdAndNameAndPlat(
//        @NotNull(message = "oneTypeId不能为空") @Positive(message = "oneTypeId必须为大于0的正整数") @ApiParam(value = "类型一ID", required = true) Integer oneTypeId,
//        @Positive(message = "twoTypeId必须为大于0的正整数") @ApiParam(value = "类型二ID") Integer twoTypeId, @ApiParam(value = "名称") String name,
//        @Positive(message = "plat必须为大于0的正整数") @ApiParam(value = "平台") Integer plat);
//
//    /**
//     * 描述: 根据类型一ID和名称查询基础码表
//     *
//     * @param oneTypeId
//     *            类型一ID
//     * @param twoTypeId
//     *            类型二ID
//     * @param threeTypeId
//     *            类型三ID
//     * @param name
//     *            名称
//     * @param plat
//     *            平台
//     * @return
//     * @auther tanghongjun
//     * @since 2018/12/29 10:54
//     */
//    @ApiOperation(value = "根据类型一ID和名称查询基础码表", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<List<BaseCodeMapDRO>> listByOneTypeIdAndTwoTypeIdAndThreeTypeIdAndNameAndPlat(
//        @NotNull(message = "oneTypeId不能为空") @Positive(message = "oneTypeId必须为大于0的正整数") @ApiParam(value = "类型一ID", required = true) Integer oneTypeId,
//        @Positive(message = "twoTypeId必须为大于0的正整数") @ApiParam(value = "类型二ID") Integer twoTypeId, @Positive(message = "threeTypeId必须为大于0的正整数") @ApiParam(value = "类型三ID") Integer threeTypeId,
//        @ApiParam(value = "名称") String name, @Positive(message = "plat必须为大于0的正整数") @ApiParam(value = "平台") Integer plat);
//
//    /**
//     * 描述: 根据码表查询条件查询码表集合
//     *
//     * @return ResponseDTO<BaseCodeMapDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据码表查询条件查询码表集合", response = ResponseDTO.class, notes = "", tags = {"BaseCodeMap"})
//    ResponseDTO<List<BaseCodeMapDRO>> listAll();
//
//}
